package io.renren.service;

import io.renren.param.*;

import java.util.List;

/**
 * esl-working service
 *
 * @author 1
 * @email 1@2.com
 * @date 2021-08-19 11:56:03
 */
public interface EslWorkingService {

    /**
     * 为企业分配基站
     *
     * @param compId
     */
    Boolean bindAp(String compId, String apMac);

    /**
     * 取消绑定基站
     *
     * @param compId
     * @param apMac
     * @return
     */
    Boolean unBindAp(String compId, String apMac);

    /**
     * AP心跳
     *
     * @param param
     */
    void apHeartBeat(ApHeartBeatParam param);
//    void apHeartBeat(List<ApHeartBeatData> param);

    /**
     * ESL心跳
     *
     * @param param
     */
    void eslHeartBeat(EslHeartBeatParam param);
//    void eslHeartBeat(List<EslHeartBeatData> param);

    /**
     * 刷新价签
     *
     * @param param
     */
    Boolean refreshEsl(RefreshEslParam param);

    /**
     * 异步刷新结果
     *
     * @param param
     */
    void refreshNotify(RefreshNotifyParam param);
}

